import Vue from "vue";

import {
  Form,
  FormItem,
  Input,
  Button,
  Container,
  Header,
  Aside,
  Main,
  Drawer,
  Card,
  RadioGroup,
  RadioButton,
  Menu,
  Submenu,
  MenuItemGroup,
  MenuItem,
  Row,
  Col,
  Tag,
  Tabs,
  TabPane,
  Select,
  Option,
  Message,
  Table,
  TableColumn,
  Popover,
  Dialog,
  DatePicker,
  TimePicker,
} from "element-ui";

Vue.prototype.$message = Message;

[
  Form,
  FormItem,
  Input,
  Button,
  Container,
  Header,
  Aside,
  Main,
  Drawer,
  Card,
  RadioGroup,
  RadioButton,
  Menu,
  Submenu,
  MenuItemGroup,
  MenuItem,
  Row,
  Col,
  Tag,
  Tabs,
  TabPane,
  Select,
  Option,
  Table,
  TableColumn,
  Popover,
  Dialog,
  DatePicker,
  TimePicker,
].forEach((item) => Vue.use(item));
